package com.wicket.okrcomponent.base.service.dto.common;


import com.wicket.okrcomponent.common.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Objects;


/**
 * @desc ApplexConfRelDto
 * @使用场景
 */
@Data
public class ApplexConfRelDto extends BaseDto implements Serializable {

    /**
     * 应用实例类型:
     */
    @ApiModelProperty("应用实例类型")
    private String applexType;

    /**
     * 应用实例ID:
     */
    @ApiModelProperty("应用实例ID")
    private String applexId;
/**
     * 应用实例配置关系ID 
     */
    @ApiModelProperty("应用实例配置关系ID")
    private String	 applexRelId;

    @Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      ApplexConfRelDto that = (ApplexConfRelDto) o;
      return  applexType == that.applexType&&applexId == that.applexId&&applexRelId == that.applexRelId;
    }

    @Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), applexType,applexId,applexRelId);
    }

}
